#include <winsock2.h>
#include <mysql.h>
#include <process.h>
#include "ParamManager.h"

#ifndef _Pc
#define _Pc


class Pc {
public:
	Pc *prev, *next;

	int id;
	char *netbios;
	bool isHidden;

	bool _isActive;
	uintptr_t hThread;

	MYSQL *db_link;			/* pointer to connection handler */
	ParamManager *detail;	/* detail related to task */
	HANDLE hMutex;			/* needed by mysql for certain calls */

	// Constructor
	Pc(int id, HANDLE /*hMutex*/, MYSQL* /*db_link*/);

	// Deconstructor
	~Pc(void);

	bool set(char* /*list*/, char* /*data*/, char* /*value*/);
};

#endif // _Todo